<?php defined( '_VALID_MOS' ) or die( include_once("../../404.php") );
$sql = "SELECT `image_file` FROM `slideshow` WHERE `activated` = 1 ORDER BY `order_num` DESC"; 
$cmd = $mysqli->prepare($sql);
$cmd->execute() or die($mysqli->error);
$cmd->bind_result($image_file);
$cmd->store_result();
?>
<div id="box_hinhanhhoatdong">
	<div id="sub_box_hinhanhhoatdong">
		<div class="bg_tt_right"><div class="bg_tt_left"><div class="bg_tt"><div class="text_tt">TH&#431; VI&#7878;N &#7842;NH</div></div></div></div>
		<div id="sub_box_hinhanhhoatdong1">
			<div class="ct_right">
				<div class="ct_left">
					<div class="ct">
						<div id="slideshow">
							<?php while($cmd->fetch()){ ?>
								<img src="<?php echo $image_file; ?>">
							<?php } ?>
						</div>						
					</div>
				</div>
			</div>
			<div class="bg_bt_right"><div class="bg_bt_left"><div class="bg_bt"><div class="text_bt"></div></div></div></div>
		</div>
	</div>
	<div class="clear"></div>
</div>